# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-feedformater
pkgver=32.7391193
pkgrel=8
pkgdesc='Python (2 & 3) library for generating news feeds in RSS and Atom formats.'
arch=('any')
url='https://github.com/marianoguerra/feedformatter'
license=('custom:unknown')
depends=('python')
makedepends=('python-setuptools' 'git')
options=(!emptydirs)
source=("$pkgname::git+https://github.com/marianoguerra/feedformatter.git")
sha512sums=('SKIP')

pkgver() {
  cd $pkgname

  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  cd $pkgname

  python setup.py install --root="$pkgdir" --optimize=1
}

